//
//  DJLoginHelper.h
//  DJ
//
//  Created by 微笑吧阳光 on 2019/6/10.
//  Copyright © 2019 DJ. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface DJLoginHelper : NSObject


#pragma mark -- 单例调用
//创建单例
+ (DJLoginHelper *) sharedInstance;

-(void)loginOut;

-(void)loginOutToken;
//弹出登陆
-(void)dj_showLoginVC:(UIViewController*)toViewController;

//保存
-(void)save_Uuid:(NSString *)uuid;

//保存用户资料
-(void)save_UserInfo:(NSDictionary *)userInfoDicc;
//获取本地UID
-(NSString *)cj_UserUuid;

//获取本地别名
-(NSString *)cj_UserAlias;
//保存
-(void)save_UserAlias:(NSString *)Alias;
//获取本地token
-(NSString *)cj_token;
-(void)save_Token:(NSString *)token;
//获取本地UserInfo
-(NSDictionary *)cj_UserDicc;
//是否登陆
-(BOOL)is_Login;
//是否绑定支付宝
-(BOOL)is_BindAlipay;
//是否已审核资料
-(BOOL)is_BindWX;

//保存审核资质状态
-(void)saveWXExamineType:(NSString *)type;
//获取审核资质状态 1=审核中 2=审核失败 3=审核通过
-(NSString *)wx_Status;
@end

NS_ASSUME_NONNULL_END
